﻿@{
    ViewBag.Title = "Vista";
}

<h1>Vista de toques</h1>


<form method="post" action="@Url.Action("ConsultarToque","Consulta")">
    <label>
        <label style="color:white">Ingrese cod. unico de empresa </label>
        <input type="password" class="form-control" name="codigoEmpresa"/>
        <button type="submit" class="btn btn-default">Aceptar</button>
    </label>
</form>

 <table class="table table-striped">  
            <thead>
                <tr class="tr-head">
                    <th class="th-center">Destino</th>
                    <th  class="th-center">Numero de darsena</th>
                    <th  class="th-center">Fecha y hora</th>
                    <th  class="th-center">Interno del micro</th>
                </tr>
            </thead>
            <tbody>
                @foreach (var item in Model)
                {
                    <tr class="tr-body">
                        <td class="td-center">@item.NombreDestino</td>
                        <td class="td-center">@item.FechaToque</td>
                        <td class="td-center">@item.NumeroDarsena</td>
                        <td class="td-center">@item.NumeroMicro</td> 
                    </tr>
                }
            </tbody>
        </table>
